package com.jf.cloud.service.sysmanager.constant;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * 网站固定的配置信息
 * 
 * @author ouyang 创建时间：Feb 11, 2012 1:08:53 AM
 */
public interface SysConstant extends Constant {
	static Log log = LogFactory.getLog(SysConstant.class);
	
	public  static String FOCUS_PATH="/";
	
	// -----------------用户的 session key
	public static final String USER_SESSION_KEY = "S_USER_SESSION_KEY";
	// -----------------用户登录 检查是否有返回的URL 没有直接返回 index
	public static final String BACK_URL = "S_BACK_URL";
	
	// 单价保留4位小数
	public static final int PRICE_SCALE = 5;
	// 总价保留2位小数
	public static final int TOTAL_PRICE_SCALE = 2;
	//升序
	public static final String SORT_ASC = "ASC";
	//降序
	public static final String SORT_DESC = "DESC";

}
